import axios from '../axios'

/* 
 * 普通用户模块
 */

// 保存
export const login = (data) => {
    return axios({
        url: '/user/login',
        method: 'POST',
        data
    })
}

export const updateInfo = (data) => {
    return axios({
        url: '/user/updateInfo',
        method: 'POST',
        data
    })
}